import request from '@/utils/request'

export function fetchEmployeeList(params) {
  return request({
    url: '/sys/user',
    method: 'GET',
    params
  })
}

export function fetchAddEmployee(data) {
  return request({
    url: '/sys/user',
    method: 'POST',
    data
  })
}

export function fetchImportExcel(data) {
  return request({
    url: '/sys/user/batch',
    method: 'POST',
    data
  })
}
